import request from '@/utils/request'

// 查询
export function listFace(query) {
  return request({
    url: '/system/face/list',
    method: 'get',
    params: query
  })
}
//添加人员
export function createFace(data) {
  return request({
    url: '/system/face/create',
    method: 'post',
    data: data
  })
}
//人脸搜索
export function SearchFace(data) {
  return request({
    url: '/system/face',
    method: 'post',
    data: data
  })
}
//删除人员
export function DeleteFace(PersonId) {
  return request({
    url: '/system/face/'+PersonId,
    method: 'delete'
  })
}
